var iconBlue = new GIcon(); 
iconBlue.image = 'http://labs.google.com/ridefinder/images/mm_20_blue.png';
iconBlue.shadow = 'http://labs.google.com/ridefinder/images/mm_20_shadow.png';
iconBlue.iconSize = new GSize(12, 20);
iconBlue.shadowSize = new GSize(22, 20);
iconBlue.iconAnchor = new GPoint(6, 20);
iconBlue.infoWindowAnchor = new GPoint(5, 1);

var iconRed = new GIcon(); 
iconRed.image = 'http://labs.google.com/ridefinder/images/mm_20_red.png';
iconRed.shadow = 'http://labs.google.com/ridefinder/images/mm_20_shadow.png';
iconRed.iconSize = new GSize(12, 20);
iconRed.shadowSize = new GSize(22, 20);
iconRed.iconAnchor = new GPoint(6, 20);
iconRed.infoWindowAnchor = new GPoint(5, 1);

var iconGreen = new GIcon(); 
iconGreen.image = 'http://labs.google.com/ridefinder/images/mm_20_green.png';
iconGreen.shadow = 'http://labs.google.com/ridefinder/images/mm_20_shadow.png';
iconGreen.iconSize = new GSize(12, 20);
iconGreen.shadowSize = new GSize(22, 20);
iconGreen.iconAnchor = new GPoint(6, 20);
iconGreen.infoWindowAnchor = new GPoint(5, 1);

var iconSemaforo = new GIcon(); 
iconSemaforo.image = 'images/Semaforo.png';
iconSemaforo.iconSize = new GSize(20, 30);
iconSemaforo.iconAnchor = new GPoint(6, 20);
iconSemaforo.infoWindowAnchor = new GPoint(5, 1);

var iconPare = new GIcon(); 
iconPare.image = 'images/Pare.png';
iconPare.iconSize = new GSize(25, 25);
iconPare.iconAnchor = new GPoint(6, 20);
iconPare.infoWindowAnchor = new GPoint(5, 1);

var iconTravessia = new GIcon(); 
iconTravessia.image = 'images/Travessia.png';
iconTravessia.iconSize = new GSize(25, 25);
iconTravessia.iconAnchor = new GPoint(6, 20);
iconTravessia.infoWindowAnchor = new GPoint(5, 1);

var iconPreferencial = new GIcon(); 
iconPreferencial.image = 'images/Preferencial.png';
iconPreferencial.iconSize = new GSize(25, 25);
iconPreferencial.iconAnchor = new GPoint(6, 20);
iconPreferencial.infoWindowAnchor = new GPoint(5, 1);

var customIcons = [];
customIcons["casa"]  = iconBlue;
customIcons["facul"] = iconRed;
customIcons["lazer"] = iconGreen;
customIcons["PARE"] = iconPare;
customIcons["SEMAFORO"] = iconSemaforo;
customIcons["TRAVESSIA"] = iconTravessia;
customIcons["PREFERENCIAL"] = iconPreferencial;
